home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / amiexpress / source / utils / dirpurge / dirpurge.doc < prev    next >
Encoding:
Text File  |  1992-12-26  |  2.1 KB  |  54 lines

  1.                            DirPurge version 1.1
  2.                           written by Joseph Hodge
  3.                           -----------------------
  4.  
  5. DirPurge is an AmiExpress 1.1w+ utility, designed to extract all file
  6. descriptions to a backup file for files you do not have on your system.
  7.  
  8. Usage: DirPurge <conference path> <Dir num>
  9.    ie: DirPurge BBS:Elite 3
  10.  
  11.  
  12. PROGRAM LOGIC: 
  13.  
  14.    1. Imediately makes a backup of <conference path>dir(x) to a file
  15.       named <conference path>dir(x).old where (x) is the Dir num you
  16.       specified.
  17.  
  18.    2. Checks for the existance of <conference path>Paths. 
  19.  
  20.       a. If exists
  21.  
  22.          1. <conference path>Dir(x) & <conference path>Dir(x).removed
  23.             files are created.
  24.  
  25.          2. Reads all <conference path>Dir(x).old images
  26.  
  27.             a. If a valid File Description structure has not been 
  28.                encountered, the utility assumes that the image is a
  29.                Header image and stores it in <conference path>Dir(x).
  30.  
  31.             b. If a valid File Description structure is found and the
  32.                File actually exists in your paths, the current image and 
  33.                all following images upto the next valid File Description 
  34.                structure is stored in <conference path>Dir(x)
  35.  
  36.             c. If a valid File Description structure is found and the File
  37.                does not exist in your paths, the current image and all
  38.                following images upto the next valid File Description
  39.                structure is stored in <conference path>Dir(x).removed
  40.  
  41.       b. If not exists the utility aborts.
  42.  
  43. I would like to thanx Freddy Krueger and BullDog in there persistance.
  44. Without them I would have probably never gotten around to writing this
  45. much needed utility.
  46.  
  47. ***********************************************************************
  48. WARNING!WARNING!WARNING!WARNING!WARNING!WARNING!WARNING!WARNING!WARNING
  49. ***********************************************************************
  50.  
  51. Do not use this utility if you are in the practice of deviating from the
  52. standard formatting of the dir files, IE: If you have embedded ANSI in
  53. your Dir files I would not run this utility.
  54.